#pragma once
#include "base/BaseInc.h"
#include "BSUtility.h"
#include "base/Control.h"

class TabPanel2 : public Control {
public:

	virtual bool OnInit();
	virtual void OnDraw();
	virtual void onMouseButtonUp(int button, int x, int y);
	virtual void onMouseButtonDown(int button, int x, int y);
	virtual void onMouseMove(int x, int y);
	virtual bool SetAttribute(const char* attrName, const char* attrVal);
	virtual void ParseXmlElement(TiXmlElement* ele);
	Control* CreateControl(std::string sControlClassName);

	int curActiveIndex{0};
};
RegisterBlueprintClass(TabPanel2)